class Results {
    constructor(results) {
        this.results = results;
    }

    static success(status, message, data) {
        return new Results({
            status: status,
            message: message,
            data: data
        });
    }
    static fail(status, message, data) {
        return new Results({
            status: status,
            message: message,
            data: data
        })
    }
}

module.exports = Results